package com.xxxx.server.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xxxx.server.pojo.Inucleic;
import com.xxxx.server.pojo.Tnucleic;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 教职工核酸登记登记表 Mapper 接口
 * </p>
 *
 * @author zhoubin
 * @since 2022-06-04
 */
public interface TnucleicMapper extends BaseMapper<Tnucleic> {

    IPage<Tnucleic> getTnucleicByPage(Page<Tnucleic> page,
                                      @Param("tnucleic") Tnucleic tnucleic,
                                      @Param("beginDateScope") String[] beginDateScope, @Param("type") int type, @Param("collegeName") String collegeName, @Param("collegeid") int collegeid);


    List<Tnucleic> getTnucleicSeachList(@Param("tnucleic") Tnucleic tnucleic,
                                        @Param("beginDateScope") String[] beginDateScope,
                                        @Param("type") int type,
                                        @Param("collegeName") String collegeName,
                                        @Param("collegeid") int collegeid);

}
